<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!-- 顶部总站导航 -->

<div class="header ">
    <ul class="header__wrapper w1150 clear typeUserInfo" id="top">
        <li class="header__item fl">
            <a href="/house/rent/cIndexInit" target="_self">首页</a>
        </li>

        <li class="header__item fl cur">
            <a href="/house/rent/rental" target="_self">租房</a>
        </li>
        <li class="header__item fl download">
            <a href="javascript:;" target="_self">下载APP</a>
            <div class="download__box">
                <img src="https://s1.ljcdn.com/matrix_pc/dist/pc/src/resource/img/getDownloadQr.png?_v=20210302142539e87" alt="下载贝壳APP">
            </div>
        </li>
        <li class="header__item fl">
            <a href="javascript:void(0)" target="_self">贝壳开放平台</a>
        </li>
        <li class="header__aside fr pointer typeShowUser" data-el="login" data-event_id="10794" data-event_action="target=login">
			<span data-el="login_box" class="login">
                <a class=" bounceIn actLoginBtn" href="/house/cLoginInit" class="login"> <c:if test="${empty session_user}" >请登录</c:if> <c:if test="${not empty session_user}" >${session_user.userName}</c:if></a>
                <span class="login">/</span>
			    <a class=" bounceIn actLoginBtn" href="/house/cRegister" class="login"> <c:if test="${empty session_user}" >注册</c:if> <c:if test="${not empty session_user}" ></c:if></a>
			</span>
            <c:if test="${empty session_user}" >请登录</c:if>
            <span data-el="login_box" >
                <div style="text-align: center;color: white ; float: right" > <a  href="${pageContext.request.contextPath}/cLoginOut">
                     <c:if test="${empty session_user}" ></c:if> <c:if test="${not empty session_user}" ><span id="loginOut">退出登录</span></c:if>
                    </a> </div>
            </span>
        </li>
        <li class="top__aside fr hide" data-el="user_box">
            <a href="" data-el="userName">18****87</a>
            <a data-el="logout_btn">退出</a>
            <div class="menu-pop">
                <i class="allow"></i>
                <ul class="menu-list ">
                    <li class="menu-item">
                        <a href="/zufang/users/index?cur_type=attention" target="_blank">我的关注</a>
                    </li>
                    <li class="menu-item">
                        <a href="/zufang/users/index?cur_type=contact" target="_blank">最近联系</a>
                    </li>
                    <li class="menu-item">
                        <a href="/zufang/users/index?cur_type=scan" target="_blank">浏览记录</a>
                    </li>
                </ul>
            </div>
        </li>

    </ul>

</div>

<script rel="stylesheet" type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery-3.3.1.min.js"> </script>

